package com.apartmentManage.until;

import lombok.Data;

/*
* 前后协议
* */
@Data
public class Renter {
    private boolean flag;
    private Object data;
    private  String msg;

    public Renter(){}

    public Renter(boolean flag){
        this.flag=flag;
    }

    public Renter(boolean flag,Object data){
        this.flag=flag;
        this.data=data;
    }

    public Renter(boolean flag,String msg){
        this.flag=flag;
        this.msg=msg;
    }

    public Renter(String msg){
        this.flag=false;
        this.msg=msg;
    }
}
